|
ambient25 2.2.0
|
Ambient 25 Click example. More...
Functions | |
| void | application_init (void) |
| void | application_task (void) |
| int | main (void) |
Ambient 25 Click example.
This example demonstrates the use of Ambient 25 Click by reading and displaying the values from two modulator channels.
The demo application is composed of two sections :
Initializes the driver and performs the Click default configuration which sets the ALS gain level to 32x and 4x for modulators 0 and 1.
Waits for a data ready interrupt then reads data from two modulator channels and displays the results on the USB UART every 200ms approximately.
| void application_init | ( | void | ) |
< Logger config object.
< Click config object.
Logger initialization. Default baud rate: 115200 Default log level: LOG_LEVEL_DEBUG
| void application_task | ( | void | ) |
| int main | ( | void | ) |